cc.Class({
    extends: cc.Component,

    properties: {
        bg_for_guoshen:{
            type:cc.AudioClip,
            default:null,
        },
        pop_star_for_guoshen:{
            type:cc.AudioClip,
            default:null,
        },
        succ_for_guoshen:{
            type:cc.AudioClip,
            default:null,
        },
        fail_for_guoshen:{
            type:cc.AudioClip,
            default:null,
        },
        get_star_prop_for_guoshen:{
            type:cc.AudioClip,
            default:null,
        },
        JTMWGS:{
            type:[cc.AudioClip],
            default:[],
        },
    },

    onLoad(){
        F.Game.gameAudioGS = this;
    },

    playPop(){
        F.Audio.playFuckEffect(this.pop_star_for_guoshen)
    },

    playEncourage(index){
        F.Audio.playFuckEffect(this.JTMWGS[index])
    },
    
    playBgm() {
        F.Audio.playBgm(this.bg_for_guoshen);
    },
    stopBgm() {
        F.Audio.stopBgm();
    },

    playSucc(){
        F.Audio.playFuckEffect(this.succ_for_guoshen)
    },

    playFail(){
        F.Audio.playFuckEffect(this.fail_for_guoshen)
    },

    playFail(){
        F.Audio.playFuckEffect(this.fail_for_guoshen)
    },
    playBomb(){
        F.Audio.playFuckEffect(this.get_star_prop_for_guoshen)
    },
})